extends "../zhala-3/zhala-3.gd"


var baseId = ""
var upText1 = "连续射击触发概率+5%"
var upText2 = "主炮校正每次叠加的属性+2%"
func _extInit():
	._extInit()
	lv = 4             #等级的设置
	addSkill("每次炮击赋予敌方单位5层随机负面效果", "弹药后效")

func _onNormalAtk(cha):
	._onNormalAtk(cha)
	if not cha.isDeath:
		buff.addRndDebuff(self, cha, 5)

func upgrade():
	.upgrade()
	if upgraded == 1:
		p2 = 35
	if upgraded == 2:
		p3 = 0.04